﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            String path = @"e:\\test.txt";
            byte[] buff = File.ReadAllBytes(path);
            String res = Encoding.Default.GetString(buff);
            Console.WriteLine(res);
            Console.WriteLine("=============");
            File.WriteAllBytes(@"E:\\test2.txt",buff);
            Console.ReadKey();
        }
    }
}
